package cn.hill4j.tool.spring.std.iop.builder;

import cn.hill4j.tool.spring.ext.iop.jdkproxy.JdkProxyIopClientBuilder;

import java.lang.reflect.Method;

public class SimpleIopClientBuilder extends JdkProxyIopClientBuilder {
    private String outStr;
    private String testStr = "test";
    @Override
    public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
        return method.getName() + ":" +outStr;
    }

    public String getOutStr() {
        return outStr;
    }

    public String getTestStr() {
        return testStr;
    }

    public void setOutStr(String outStr) {
        this.outStr = outStr;
    }
    public void setOtherOutStr(String outStr) {
        this.outStr = outStr;
    }
}
